/*--------------------公共部分---------------------*/
.icon-common {
    color: orangered;
}

.icon-common-margin {
    margin-top: 5px;
}

.card {
    background-color: transparent;
}

body {
    background-image: url('../images/bg.png');
    background-attachment: fixed;
}

.side-secondary {
    opacity: 0.5;
}

.article-card-image {
    height: 75px;
}

.article-card {
    margin-top: 10px
}

.article-card-abstract {
    opacity: 0.6;
    max-height: 50px;
    overflow: hidden;
}

.article-card-footer {
    margin-top: 10px;
    margin-left: 5px
}

.article-card-footer-item {
    opacity: 0.6;
    margin-right: 10px;
}

a {
    text-decoration: none;
    cursor: pointer;
}

/*------------------------导航栏------------------- */
#nav-logo {
    width: 40px;
}

.nav-search {
    margin-left: 15px;
}

#scroll-message-border {
    margin-top: 5px;

}

#scroll-message {
    overflow: hidden;
    height: 20px;
}

#icon-nav-scroll-message {
    margin: 5px 0 0 0;
    padding: 0;
}

ul#info-list {
    list-style: none;
    width: 100%;
    height: 100%;
    margin-left: 5px;
    padding: 0;
}

ul li#info-list {
    width: 100%;
    text-align: left;
}

li.nav-item {
    font-size: large;
}

.nav-link {
    color: darkorange;
}

/* ------------------右侧-----------------------*/
.right-side-secondary {
    opacity: 0.5;
}

.right-side-first-card-img {
    width: 30px;
}

.right-side-second-card-num {
    opacity: 0.5;
}

.right-side-second-card-line {
    margin-top: 20px;
}

.right-side-rear-card {
    margin-top: 20px;
}

.right-side-third-card-history {
    margin-top: 10px;
}

.right-side-forth-card {
    margin: 0;
    opacity: 0.7;
}

.right-side-last-side-info {
    opacity: 0.5;
}

/*-----------------index--------------------*/
.index-inner-card {
    background-color: transparent;
    margin-top: 10px
}

.second-card {
    margin-top: 20px
}

/*--------------detail-----------------*/
.article-detail-footer {
    margin-top: 20px;
}

/*-------------comment-----------*/

.pop-ico {
    display: none;
    background-color: whitesmoke;
    position: absolute;
    top: 50px;
    z-index: 100
}

.pop-ico .ico-list {
    padding: 7px
}

.pop-ico .ico-list a img {
    border: 1px dashed #DDD;
    margin-right: 10px;
}

.comment-submit {
    margin: 10px;
}

.comment-reply-btn {
    opacity: 0.1;
}

.comment-reply-btn:hover {
    opacity: 0.5;
}

/*--------------------分页-------------------*/
.pagination-outer {
    text-align: center;
}

.pagination {
    font-family: 'Allerta Stencil', sans-serif;
    display: inline-flex;
    position: relative;
}

.pagination li a.page-link {
    color: #fff;
    background: transparent;
    font-size: 21px;
    line-height: 35px;
    height: 38px;
    width: 38px;
    padding: 0;
    margin: 0 8px;
    border: none;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease 0s;
}

.pagination li.active a.page-link,
.pagination li a.page-link:hover,
.pagination li.active a.page-link:hover {
    color: #fff;
    background-color: transparent;
}

.pagination li a.page-link:before,
.pagination li a.page-link:after {
    content: '';
    background: linear-gradient(225deg, #f857a6, #ff5858);
    height: 100%;
    width: 100%;
    border: 3px solid #fff;
    box-shadow: 0 0 3px #000;
    border-radius: 50%;
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transition: all 0.3s ease-in;
}

.pagination li a.page-link:hover:before,
.pagination li.active a.page-link:before {
    border-radius: 50% 0 50% 50%;
}

.pagination li a.page-link:after {
    background: #fff;
    height: 5px;
    width: 5px;
    border: none;
    box-shadow: 0 0 0 transparent;
    opacity: 0;
    transform: translateX(-50%) translateY(0) rotate(0);
    top: auto;
    bottom: 0;
}

.pagination li a.page-link:hover:after,
.pagination li.active a.page-link:after {
    opacity: 1;
    bottom: 85%;
}

.pagination li:first-child a.page-link:before {
    transform: translateX(-50%) translateY(-50%) rotate(-135deg);
}

.pagination li:first-child a.page-link:hover:before {
    border-radius: 50% 0 50% 50%;
}

.pagination li:first-child a.page-link:after {
    transform: translateX(0) translateY(-50%);
    top: 50%;
    bottom: auto;
    left: auto;
    right: 0;
}

.pagination li:first-child a.page-link:hover:after {
    right: 80%;
}

.pagination li:last-child a.page-link:before {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.pagination li:last-child a.page-link:hover:before {
    border-radius: 50% 0 50% 50%;
}

.pagination li:last-child a.page-link:after {
    transform: translateX(0) translateY(-50%);
    bottom: auto;
    top: 50%;
    left: 0;
}

.pagination li:last-child a.page-link:hover:after {
    left: 80%;
}

@media only screen and (max-width: 480px) {
    .pagination {
        display: block;
    }

    .pagination li {
        margin-bottom: 10px;
        display: inline-block;
    }
}

/*------------关于页面---------------*/
@font-face {
    font-family: NUM;
    src: url("../fonts/DS-DIGI-1.ttf");
}

.education-bg {
    height: 230px;
    width: 100%;
}

.education-bg:before {
    background: url('../images/campus_.jpg') no-repeat;
    background-size: cover;
    height: 230px;
    width: 100%;
    content: "";
    position: absolute;
    z-index: -1;
    filter: blur(3px);
}

.skill {
    height: 230px;
    width: 100%;
}

.skill-bg:before {
    background: url('../images/code.png') no-repeat;
    background-size: cover;
    height: 230px;
    width: 100%;
    content: "";
    position: absolute;
    z-index: -1;
    filter: blur(3px);
}

.willing {
    height: 230px;
    width: 100%;
}

.willing-bg:before {
    background: url('../images/love.jpg') no-repeat;
    background-size: cover;
    height: 230px;
    width: 100%;
    content: "";
    position: absolute;
    z-index: -1;
    filter: blur(3px);
}

.site-bg:before {
    background: url('../images/bg2.jpg') no-repeat;
    background-size: cover;
    height: 230px;
    width: 100%;
    content: "";
    position: absolute;
    z-index: -1;
    filter: blur(5px);
}

/*----------------屏幕滚动按钮效果------------------*/
.go-to-top {
    z-index: 500;
    position: absolute;
    left: -50px;
    background: linear-gradient(225deg, #2C7EEA, #00aaaa);
    opacity: 0.2;
    transition: all 0.5s;
    display: none;
}

.go-to-top:hover {
    opacity: 0.9;
    transform: scale(1.3);
}

/*------------------赞助页面--------------------*/
.pay-img {
    width: 100px;
    height: 100px;
    transition: width 1s, height 1s;
}

.pay-img:hover {
    width: 150px;
    height: 150px;
}

/*------------专栏---------------*/
.collection_link_item a {
    text-decoration: none;
    color: gray;
}

.collection_link_item a:hover {
    color: black;
    font-weight: bold;
    font-size: 105%;
}

/*--------------摄影列表展示-----------------*/
.photograph-bg {
    background-image: url("../images/bg2.jpg");
}

.photograph-box {
    width: 280px;
    height: 400px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateY(0deg);
    animation: go 45s linear infinite;
}

.photograph-box img {
    width: 280px;
    height: 400px;
    position: absolute;
    z-index: -1;
    opacity: 0.8;
    left: 0;
    top: 0;
}

.photograph-box span {
    position: absolute;
}

.photograph-box small {
    background-color: #df5000;
    z-index: auto;
}

@keyframes go {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: rotateX(-5deg) rotateY(180deg);
    }
    50% {
        transform: rotateX(-10deg) rotateY(360deg);
    }
    75% {
        transform: rotateX(-5deg) rotateY(540deg);
    }
    100% {
        transform: rotateX(0deg) rotateY(720deg);
    }

}
